#include<stdio.h>

int main() {
	char c;

	printf("Simple getchat() and putchar() example\n");
	printf("Enter single char: ");
	c = getchar();
	putchar(c);
	printf("\n");

	//what is the value of EOF as int?
	printf("The value of EOF as int is: %d\n", EOF);
	//what is the value of EOF as char?
	printf("The value of EOF as char?.... is: %c\n", EOF);
	printf("The value of EOF as char: check K&R page 37\n");
}
